const toString = Object.prototype.toString;
export function is(val: any, type: any) {
  return toString.call(val) === `[object ${type}]`;
}
export function isNumber(val: any) {
  return is(val, "Number");
}
